package com.example.speeddating.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.speeddating.entity.Follow;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.speeddating.entity.User;
import org.apache.ibatis.annotations.Select;

/**
 * @author tina
 * @since 2023-06-28 11:14:33
 */
public interface FollowService extends IService<Follow> {

    public int batchupdateFollow(Long userId);

    public Page<User> selectFollowUser(Integer pageNum,Integer pageSize,Long userId);

    void updateUnreadFollow(Long id);

    public int followUser(Long userId,Long followId);
}
